package io.terminus.spzx.model.vo.h5;

import com.alibaba.fastjson.JSONArray;
import io.swagger.v3.oas.annotations.media.Schema;
import io.terminus.spzx.model.entity.product.Product;
import io.terminus.spzx.model.entity.product.ProductSku;
import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 移动端商品详情VO
 * @Date 2024-03-10
 */
@Data
@Schema(description = "商品详情VO")
public class ProductItemVo {

    @Schema(description = "商品sku信息")
    private ProductSku productSku;

    @Schema(description = "商品信息")
    private Product product;

    @Schema(description = "商品轮播图列表")
    private List<String> sliderUrlList;

    @Schema(description = "商品详情图片列表")
    private List<String> detailsImageUrlList;

    @Schema(description = "商品规格信息")
    private JSONArray specValueList;

    @Schema(description = "商品规格对应商品skuId信息")
    private Map<String, Object> skuSpecValueMap;

}